Skip to content

workaround(java-21-openjdk-portable): pull spec from earlier snapshot…#16127

Open
binujp wants to merge 2 commits intotomls/base/mainfrom
bphilip/java-21-portable-build-workaround
Open

workaround(java-21-openjdk-portable): pull spec from earlier snapshot…#16127
binujp wants to merge 2 commits intotomls/base/mainfrom
bphilip/java-21-portable-build-workaround

Conversation

@binujp
Copy link
Contributor

@binujp binujp commented Mar 5, 2026

… to satisfy version dep

We build java-21 with portable sources 21.0.8.0.9. The head version of fed43 delivers 21.0.10.0.7. This will cause stage2 builds to fail. As a workaround pull from an older snapshot from before version was upgraded.

By default a bootstrap build of jdk is done to make sure no other version of jdk is used accidentally. Since our stage2 is isolated and we are using the current version of jdk, ie. the one we built in stage1, to build portable sources, we disable bootstrap build.

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

What does the PR accomplish, why was it needed?

Change Log
  • Change
  • Change
  • Change
Does this affect the toolchain?

YES/NO

Associated issues
  • #xxxx
Links to CVEs
Test Methodology
  • Pipeline build id: xxxx

… to satisfy version dep

We build java-21 with portable sources 21.0.8.0.9. The head version of fed43 delivers
21.0.10.0.7. This will cause stage2 builds to fail. As a workaround pull from an older
snapshot from before version was upgraded.

By default a bootstrap build of jdk is done to make sure no other version of jdk is used
accidentally. Since our stage2 is isolated and we are using the current version of jdk, ie.
the one we built in stage1, to build portable sources, we disable bootstrap build.
Copilot AI review requested due to automatic review settings March 5, 2026 18:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@@ -0,0 +1,13 @@
[components.java-21-openjdk-portable]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you're including an emacs backup file here, this should be removed from the pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants